import request from '@/utils/request'

// 
export function openChat(data) {
  return request({
    url: 'chat/utils/openchat',
    method: 'post',
    data: data
  })
}

// 语音上传
export function uploadVoice(data) {
    return request({
      url: 'chat/audio/openchat',
      method: 'post',
      data: data
    })
  }